<h1>District Add/Edit</h1>
<div class="buttons">
  <a href="<!--[pnmodurl modname='VoteAlert' type='admin' func='page' ctrl='home']-->" class="regular">Vote Alert Main Page</a>
</div>
<br /><br />
<form action="<!--[pnmodurl modname='VoteAlert' type='adminform' func='submit' ctrl='District']-->" method="POST" class="z-form">
<fieldset>
<legend>District Add/Edit</legend>  
  <input type="hidden" name="form[id]" value="<!--[$smarty.get.id]-->"/>
  <div class="z-formrow"> 
    <label>Name : </label>
    <input name="form[name]" type="text" value="<!--[$form.name]-->"/>
  </div>
      <div class="z-formrow">
      <label>Province : </label>
      <!--[selector_object_array modname="VoteAlert"
      class="Province"
      field="id"
      displayField="name"
      name="form[province_id]"
      selectedValue=$form.province_id
      ]-->
    </div>
  <div class="z-formrow"> 
    <label>Code : </label>
    <input name="form[code]" type="text" value="<!--[$form.code]-->"/>
  </div>
</fieldset>
<div class="buttons"> 
  <button type="submit" title="Submit" class="positive">Submit</button>
  <button type="reset" title="Reset" class="negative">Reset</button>
</div>
</form>
